package cn.r6b.user.mapper;

import java.util.List;
import cn.r6b.user.domain.UserTeacher;

/**
 * 老师Mapper接口
 * 
 * @author mirai
 * @date 2023-01-31
 */
public interface UserTeacherMapper 
{
    /**
     * 查询老师
     * 
     * @param id 老师主键
     * @return 老师
     */
    public UserTeacher selectUserTeacherById(Long id);

    /**
     * 查询老师列表
     * 
     * @param userTeacher 老师
     * @return 老师集合
     */
    public List<UserTeacher> selectUserTeacherList(UserTeacher userTeacher);

    /**
     * 新增老师
     * 
     * @param userTeacher 老师
     * @return 结果
     */
    public int insertUserTeacher(UserTeacher userTeacher);

    /**
     * 修改老师
     * 
     * @param userTeacher 老师
     * @return 结果
     */
    public int updateUserTeacher(UserTeacher userTeacher);

    /**
     * 删除老师
     * 
     * @param id 老师主键
     * @return 结果
     */
    public int deleteUserTeacherById(Long id);

    /**
     * 批量删除老师
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserTeacherByIds(Long[] ids);
}
